package org.phoenixframework.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.phoenixframework.common.entity.base.BaseEntity;

/**
 * <p>
 * 后台角色资源关系表
 * </p>
 *
 * @author doublelife
 * @since 2021-06-14
 */
@Data
@EqualsAndHashCode
@TableName("sys_role_resource")
@ApiModel(value="SysRoleResource对象", description="后台角色资源关系表")
public class SysRoleResource {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色ID")
    @TableField("role_id")
    private Long roleId;

    @ApiModelProperty(value = "资源ID")
    @TableField("resource_id")
    private Long resourceId;


}
